.vanilla-antd-message {
	position: fixed;
	bottom: 10vh;
	left: 10vw;
	right: 10vw;
	z-index: 9999;
}
.vanilla-antd-content-box {
	transition: all 3s;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	padding: 10px 16px;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0,0,0,.15);

	&.animate-in {
		animation: fade-in  3s;
		animation-timing-function: cubic-bezier(.08,.82,.17,1);
	}

	&.animate-out {
		animation: fade-out  3s;
		animation-timing-function: cubic-bezier(.6,.04,.98,.34);
	}
}
.vanilla-antd-message-icon {
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 8px;
	border-radius: 50%;
	&.info {
		background: #1890ff;
	}
	&.success {
		background: #52c41a;
	}
	&.error {
		background: #f5222d;
	}
	&.warn {
		background: #faad14;
	}
}

@keyframes fade-in {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(50%);
	}

	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

@keyframes fade-out {
	from {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}

	to {
		opacity: 0;
		transform: translateX(-50%) translateY(50%);
	}
}
